Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sewing-kit/tasks

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sewing-kit/tasks

`@sewing-kit/tasks` provides a number of helpful types and interfaces that describe the kinds of things that `sewing-kit` can do for your workspace.

  • 0.1.10
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@sewing-kit/tasks

@sewing-kit/tasks provides a number of helpful types and interfaces that describe the kinds of things that sewing-kit can do for your workspace.

This package is closely tied with and extends from @sewing-kit/hooks and the interfaces it provides.

Installation

yarn add @sewing-kit/tasks --dev

Tasks

Tasks are what sewing-kit runs against your codebase to perform a variety of things, such as linting, building, and testing. At a high level, sewing-kit distinguishes between WorkspaceTasks (which apply to the entire workspace) and ProjectTasks (which apply to the individual projects within a workspace).

  • WorkspaceTasks
    • Building (BuildWorkspaceTask)
    • Running a development server (DevWorkspaceTask)
    • Testing (TestWorkspaceTask)
    • Linting (LintWorkspaceTask)
    • Type-checking (TypeCheckWorkspaceTask)
  • ProjectTasks
    • Building (BuildProjectTask)
    • Running a develoment server (DevProjectTask)
    • Testing (TestProjectTask)

A task (e.g. build, dev, test) is made up of options and hooks. Options exist to configure the task, and can be passed in through sewing-kit's CLI and propagated through the hooks to relevant plugins. Tasks' hooks expose a way for plugins (either @sewing-kit's or your own) to tap into and customize and define sewing-kit's behaviour.

FAQs

Package last updated on 14 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc